package com.example.demo.common;

/**
 * @Author: zhuchunfeng
 * @Description
 * @Date: 2020/5/14 10:36
 * Copyright (c) 2019 北京新媒传信科技有限公司
 */
public class ServiceException extends AbstractHttpException {
    private static final long serialVersionUID = 3501273732637394263L;

    public ServiceException(String str) {
        super(str);
        setApiCode(ApiCode.STATUS_INTERNAL_ERROR);
    }

    public ServiceException(String str, Exception e) {
        super(str, e);
        setApiCode(ApiCode.STATUS_INTERNAL_ERROR);
    }
}
